package com.zzyl.nursing.domain;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;
import lombok.NoArgsConstructor;

/**
 * 数据平均值对象 device_data_list
 * 
 * @author lzy
 * @date 2025-06-07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DeviceDataList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 设备唯一标识 */
    @Excel(name = "设备唯一标识")
    private String iotId;

    /** 功能标识，如HeartRate */
    @Excel(name = "功能标识，如HeartRate")
    private String functionId;

    /** 记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("date_time")
    private LocalDateTime dateTime;

    /** 数值 */
    @Excel(name = "数值")
    private Double dataValue;


    private LocalDate day;


}
